package com.soft2018;


public class Player extends Character {
    //TODO:构造器

    public Player(String name, int hp, int ap, int sap, String sinfo, String sname,int x,int y)
    {
        //调用父类中构造函数
        super(name,hp,ap,sap,sinfo,sname);
        this.setX(x);
        this.setY(y);
    }

    //TODO:转换地图，旅行
    public void travel(int x,int y){
        this.setY(y);
        this.setX(x);
    }
}
